package com.mg.service;

import com.github.pagehelper.PageInfo;
import com.mg.dto.PowerAccountDto;
import com.mg.dto.SimpleResult;
import com.mg.model.PowerAccount;

/**
 * Created by mg1213 on 2018/3/18.
 */
public interface PowerAccountService {
    PageInfo<PowerAccountDto> selectPageInfo(PowerAccountDto dto, int start, int limit);

    SimpleResult insertPowerAccount(PowerAccount record);
    SimpleResult updatePowerAccount(PowerAccount record);

    SimpleResult deletePowerAccount(String ids);
}
